package com.engineering.elink.dao;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.Influence;

public interface InfluenceMapper {
	
    int deleteByPrimaryKey(Integer influenceId);

    int insert(Influence record);

    int insertSelective(Influence record);

    Influence selectByPrimaryKey(Integer influenceId);

    int updateByPrimaryKeySelective(Influence record);

    int updateByPrimaryKey(Influence record);
    
    Influence selectByType(@Param("type")int type,@Param("userId")String userId);
}